package com.qf.service;

import com.qf.dao.MenuDao;
import com.qf.pojo.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * projectName: wokepase1
 *
 * @author: 强力
 * time: 2021/9/7 17:19
 * description:
 */
@Service
public class MenuServiceImpl implements  MenuService{

    @Autowired
    private MenuDao menuDao;

    @Override
    public Set<String> findMenuByUid(Integer uid) {
       Set<String> menu = menuDao.findMenuByUid(uid);

        return menu;
    }
}
